/*
 *
 * *******************************************************************
 *   @项目名称: BHex Android
 *   @文件名称: RecordBeanResponse.java
 *   @Date: 11/29/18 3:21 PM
 *   @Author: chenjun
 *   @Copyright（C）: 2018 BlueHelix Inc.   All rights reserved.
 *   注意：本内容仅限于内部传阅，禁止外泄以及用于其他的商业目的.
 *  *******************************************************************
 *
 */

package io.bhex.sdk.trade.bean;

import java.io.Serializable;
import java.util.List;

import io.bhex.baselib.network.response.BaseResponse;


public class RecordBeanResponse extends BaseResponse {

    private List<RecordItem> array;

    public List<RecordItem> getArray() {
        return array;
    }

    public void setArray(List<RecordItem> array) {
        this.array = array;
    }

    public static class RecordItem implements Serializable {
        /**
         * time : 1528620857119
         * accountId : 412113881020932
         * token : ETH
         * address : 1000000000000000000
         * quantity : 10.0000000000
         * arriveQuantity : 0
         * statusCode : WITHDRAW_REVIEWING
         * statusDesc : 审核中
         * orderId : 12312312
         */
        private String id;

        private long time;
        private long accountId;
        private String token;
        private String address;
        //充币历史记录
        private String fromAddress;
        private String quantity;
        //提币历史记录
        private String arriveQuantity;
        private String statusCode;
        private String statusDesc;
        private String orderId;

        public String tokenId;
        public String tokenName;
        public String addressExt;
        public long walletHandleTime;
        public String feeTokenId;
        public String feeTokenName;
        public String fee;
        public String txid;
        public int requiredConfirmNum;
        public int confirmNum;
        public String kernelId;
        public boolean isInternalTransfer;
        private boolean canBeCancelled;  // 提币订单能否取消



        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public long getTime() {
            return time;
        }

        public void setTime(long time) {
            this.time = time;
        }

        public long getAccountId() {
            return accountId;
        }

        public void setAccountId(long accountId) {
            this.accountId = accountId;
        }

        public String getToken() {
            return token;
        }

        public void setToken(String token) {
            this.token = token;
        }

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public String getQuantity() {
            return quantity;
        }

        public void setQuantity(String quantity) {
            this.quantity = quantity;
        }

        public String getArriveQuantity() {
            return arriveQuantity;
        }

        public void setArriveQuantity(String arriveQuantity) {
            this.arriveQuantity = arriveQuantity;
        }

        public String getStatusCode() {
            return statusCode;
        }

        public void setStatusCode(String statusCode) {
            this.statusCode = statusCode;
        }

        public String getStatusDesc() {
            return statusDesc;
        }

        public void setStatusDesc(String statusDesc) {
            this.statusDesc = statusDesc;
        }

        public String getOrderId() {
            return orderId;
        }

        public void setOrderId(String orderId) {
            this.orderId = orderId;
        }

        public String getFromAddress() {
            return fromAddress;
        }

        public void setFromAddress(String fromAddress) {
            this.fromAddress = fromAddress;
        }

        public boolean isCanBeCancelled() {
            return canBeCancelled;
        }

        public void setCanBeCancelled(boolean canBeCancelled) {
            this.canBeCancelled = canBeCancelled;
        }
    }
}
